package myoa

class Role {
    String name
    String comment

    static hasMany = [users: User, permissions: String]
    static belongsTo = User

    static constraints = {
        name(nullable: false, blank: false, unique: true)
    }
}
